#include <stdio.h>

void is_prime (int judge)
{

    if (judge == 3 || judge == 5 || judge % 2 != 0 && judge % 3 != 0 && judge % 5 != 0)
    {

        printf("%d is prme number.\n" , judge) ; // 函数成立，运行并打印素数

    }

    else
    {

        printf("no.\n") ;

    }

    for (int i = 100 ; i <= 200 ; i++) // 设立循环,将在100-200之内循环
    {

        if (i % 2 != 0 && i % 3 != 0 && i % 5 != 0)
        {

            printf("%d " , i) ; // 函数成立，运行并打印素数

        }

    }

}

int main ()
{

    int judge ;

    scanf("%d" , &judge) ;

    is_prime (judge) ;

    return 0 ;
    
}